package org.zfes.snowier.cloud.zbss.cms.content.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class CmsContentOperateRecord extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public CmsContentOperateRecord() {}
	public CmsContentOperateRecord(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 
	@javax.validation.constraints.NotNull(message="文章ID不能为空")
	
	  private java.lang.Long contentId;
 
	@javax.validation.constraints.NotNull(message="操作人不能为空")
	@javax.validation.constraints.NotBlank(message="操作人不能为空")
	 @org.hibernate.validator.constraints.Length(min=0,max=60,message="操作人长度不能大于60")
	  private java.lang.String operator;
 
	@javax.validation.constraints.NotNull(message="操作时间不能为空")
	
	  private java.util.Date operateTime;
 
	@javax.validation.constraints.NotNull(message="操作类型不能为空")
	
	  private java.lang.Byte operateType;
 
	@javax.validation.constraints.NotNull(message="状态:不能为空")
	
	  private java.lang.Byte status;
 
	@javax.validation.constraints.NotNull(message="更新时间不能为空")
	
	  private java.util.Date updateTime;
 
	@javax.validation.constraints.NotNull(message="创建时间不能为空")
	
	  private java.util.Date createTime;
 
	
	//<-------------------------------------------->
	public CmsContentOperateRecord setContentId(java.lang.Long contentId){
	 this.contentId=contentId;
	 return this;
	}
	public java.lang.Long getContentId(){
		return this.contentId;
	}
	public CmsContentOperateRecord setOperator(java.lang.String operator){
		this.operator=operator==null?null:operator.trim();
	 return this;
	}
	public java.lang.String getOperator(){
		return this.operator;
	}
	public CmsContentOperateRecord setOperateTime(java.util.Date operateTime){
	 this.operateTime=operateTime;
	 return this;
	}
	public java.util.Date getOperateTime(){
		return this.operateTime;
	}
	public CmsContentOperateRecord setOperateType(java.lang.Byte operateType){
	 this.operateType=operateType;
	 return this;
	}
	public java.lang.Byte getOperateType(){
		return this.operateType;
	}
	public CmsContentOperateRecord setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public CmsContentOperateRecord setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}
	public CmsContentOperateRecord setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}

}
